package com.maxh.mapper;

import com.maxh.pojo.Admin;
import com.maxh.pojo.Teacher;
import com.maxh.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface LoginMapper {
    Admin findByUserNum(String userNum);

    Teacher findByTeacherNum(String userNum);

    User findByStudent(String userNum);

    Admin findAdminById(String adminId);

    Teacher findTeacherById(String teacherId);

    User findUserById(String userId);

    Boolean updateAdminPassword(@Param("id")String id, @Param("password")String password);


    Boolean updateUserPassword(@Param("id")String id, @Param("password")String password);
}
